package com.nsxy.manager.user.controllers;

import javax.annotation.Resource;

import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.nsxy.manager.common.controllers.BaseBodyController;
import com.nsxy.manager.user.beans.Account;
import com.nsxy.manager.user.service.IAccountService;

/**
 * 
 * @author 潜行的青衣
 * @see
 */
@Controller
@RequestMapping("/manager/user/")
public class UserManageController extends BaseBodyController {
	
	@Resource
	private IAccountService accountService;
	
	@RequiresPermissions("user:manage:browse")
	@RequestMapping("browse")
	public String browse() {
		Account account = this.getLoginAccount();
		System.out.println(account);
		return "manager/user/browse";
	}
	
}
